package com.jhs.boot.system.model.form;

import java.io.Serial;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import jakarta.validation.constraints.*;

/**
 * 节点和路由关联表单对象
 *
 * @author zxy
 * @since 2025-11-22 11:28
 */
@Data
@Schema(description = "节点和路由关联表单对象")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SysNodeRouteForm implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "路由ID")
    @NotNull(message = "路由ID不能为空")
    private Long routeId;

    @Schema(description = "节点ID")
    @NotNull(message = "节点ID不能为空")
    private Long nodeId;


}
